package cn.zyq.ykb.beans.task;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 任务-步骤对象 taskStep
 *
 * @author SystemAuth
 * @date 2023-05-22
 */
@Data
@Entity
@Table(name = "`taskStep`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class TaskStep  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`taskStepID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer taskStepID;
    /**
     * 任务ID
     */
    @Column(name = "`taskID`")
    @ApiModelProperty("任务ID")
    private Integer taskID;
    /**
     * 步骤名称
     */
    @Column(name = "`stepName`")
    @ApiModelProperty("步骤名称")
    private String stepName;
    /**
     * 步骤说明
     */
    @Column(name = "`explain`")
    @ApiModelProperty("步骤说明")
    private String  explain;
    /**
     * 图片
     */
    @Column(name = "`picture`")
    @ApiModelProperty("图片")
    private String picture;
    /**
     * 类型（1图文说明，2提交截图，3复制口令，4.网址链接）
     */
    @Column(name = "`type`")
    @ApiModelProperty("类型（1图文说明，2提交截图，3复制口令，4.网址链接）")
    private Integer type;
}
